<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>类别管理</title>
<%@include file="/WEB-INF/common/headeradmin.jsp" %>
</head>
<body>
	<table id="categoryDataGrid"></table>
	
	<script type="text/javascript">
	$("#categoryDataGrid").treegrid({
		url: root+"/admin/product/category/find",
		columns:[[
		   {title:"编号", field:"id", width:20},     
		   {title:"名称", field:"text", width:100},    
		   {title:"属性", field:"attr", width:100}
		]],
		idField: "id",
		treeField: "text",
		dataPlain: true,
		fit: true,
		fitColumns: true,
		border: false
		
		
	});
	</script>
</body>
</html>